package icu.xblogs.report.service;

import icu.xblogs.report.domain.Employee;
import icu.xblogs.report.domain.Manager;
import icu.xblogs.report.plugin.Page;

import java.util.List;

/**
 * @author Frank KONG
 * @version 1.0
 * @date 2020/11/17 10:18
 */
public interface ManagerService {

    Manager getByIdAndPsw(int id, String password);

    void updatePsw(int id, String oldPassword, String newPassword);

    List<Employee> getAllEmployee(Page page);
}
